<html>
<head>
<script src="../AmazeUI-2.4.2/assets/js/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
  $("#form1").submit(function(e){
    alert("Submitted");
  });
  $("button").click(function(){
    $("#form1").submit();
  });  
});
</script>
</head>
<body>
<form method="put" id="form1">
First name: 
<input type="text" name="FirstName" value="Mickey" size="20">
<br />Last name: 
<input type="text" name="LastName" value="Mouse" size="20">
<br />
</form> 
<button>触发表单域的 submit 事件</button>
</body>
</html>
 